package jobs.controller;

import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import jobs.pattern.design.ControllerComposite;
import jobs.pattern.design.DAOComposite;
import jobs.model.KnowledgeArea;
import jobs.model.dao.KnowledgeAreaDAO;

/**
 *
 * @author administrador
 */
@ManagedBean(name = "knowledgeAreas")
public class KnowledgeAreaController extends ControllerComposite<KnowledgeArea> {

    @EJB
    private KnowledgeAreaDAO dao;

    public KnowledgeAreaController() {
        super(KnowledgeArea.class);
    }

    @Override
    public DAOComposite<KnowledgeArea> getDAO() {
        return dao;
    }
}
